The UniCharArrayPtr type is a pointer to the beginning of a text buffer. Note that ATSUI expects the buffer to contain Unicode text. You can use the UniCharArrayPtr type with functions that operate on a range of text in a text layout object.
typedef UniChar * UniCharArrayPtr;